﻿#region Copyright (C) Sector7 Software Studio. All rights reserved
/*******************************************************************************************
 * Creation
 *      Author:         Wolf Lai
 *      Date:           2013/6/20 星期四 10:13:20
 *      Version:        
 * Modification 
 *      Author: 
 *      Date: 
 *      Description: 
 *      Version:
 *******************************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using Sector7.Framework.Core;
using Sector7.Framework.Enums;

namespace Sector7.Medical.EntityType
{
    /// <summary>
    /// 收费项实体类
    /// </summary>
    [Serializable()]
    [DataContract]
    public class M7_ChargeItem : EntityBase
    {
        #region Accessor
        /// <summary>
        /// 获取或设置收费项编码
        /// </summary>
        [DataMember]
        [DBField(DBFieldType.PrimaryKey | DBFieldType.AutoIncrement)]
        public int ChargeItemId { get; set; }

        /// <summary>
        /// 获取或设置收费项名称
        /// </summary>
        [DataMember]
        [DBField]
        public string ChargeItemName { get; set; }

        /// <summary>
        /// 获取或设置费用
        /// </summary>
        [DataMember]
        [DBField]
        public decimal Price { get; set; }

        /// <summary>
        /// 获取或设置执行科室编码
        /// </summary>
        [DataMember]
        [DBField]
        public int DeptId { get; set; }

        /// <summary>
        /// 获取或设置收费项标志
        /// </summary>
        [DataMember]
        [DBField]
        public int Flags { get; set; }

        /// <summary>
        /// 获取和设置所有科室
        /// </summary>
        [DataMember]
        public M7_Department Dept { get; set; }
        #endregion
    }
}
